package com.newtouch.bxzs.database.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.newtouch.bxzs.common.base.model.bo.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 映射机构关系返回类
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2020/12/22 14:39</td>
 * <td>Amour</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author lhx
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "OrganizationMapBO",description = "映射关系实体类")
public class OrganizationMapBO extends PageParam implements Serializable {

    private static final long serialVersionUID = 4168697177731069218L;
    @ApiModelProperty(value = "本端机构编码 organizationId")
    private String organizationId;

    @ApiModelProperty(value = "映射关系ID organizationMapId")
    private String organizationMapId;

    @ApiModelProperty(value = "对端机构ID cooperationCompanyOrganizationId")
    private String cooperationCompanyOrganizationId;

    @ApiModelProperty(value = "对端机构编码 cooperationCompanyOrganizationCode")
    private String cooperationCompanyOrganizationCode;

    @ApiModelProperty(value = "创建人id createId")
    private String createUserId;

    @ApiModelProperty(value = "创建时间 createTime")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "修改人id updateUserId")
    private String updateUserId;

    @ApiModelProperty(value = "修改时间 modifyTime")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty(value = "备注 memo")
    private String memo;

    @ApiModelProperty(value = "启用状态 enableFlag")
    private Boolean enableFlag ;

    @ApiModelProperty(value = "总数 total")
    private Integer total;

    @ApiModelProperty(value = "机构名称 organizationName")
    private String organizationName;

    @ApiModelProperty(value = "对端机构名称 cooperationCompanyOrganizationName")
    private String cooperationCompanyOrganizationName;

    @ApiModelProperty(value = "数据来源 dataSource")
    private String dataSource;

}
